use ipums, clear

local sample if female==1
local controls i.bplcountry_pop i.birthyr 
local intervar inter  

estimates clear
reg secondary  `intervar'  `controls' `sample', cluster(bplcountry_pop)
eststo m1

reg inactive  `intervar'  `controls' `sample', cluster(bplcountry_pop)
eststo m2

reg employed  `intervar'  `controls' `sample', cluster(bplcountry_pop)
eststo m3

reg married  `intervar'  `controls' `sample', cluster(bplcountry_pop)
eststo m4

reg endogamous  `intervar'  `controls' if marst==2&female==1, cluster(bplcountry_pop)
eststo m5

reg children  `intervar'  `controls' if female==1, cluster(bplcountry_pop)
eststo m6

esttab m* using "TableB7.csv", star(+ 0.1 * 0.05 ** 0.01 *** 0.001) replace ///
		cells(b(fmt(a3) star) se(par)) stats(N r2)  ///
		keep(inter) 

